package com.ivy.entity;


/**
 * Created by Lenovo on 2017/12/6.
 */

public class Message {
    public static final int TYPE_RECEIVE = 0;
    public static final int TYPE_SEND = 1;
    private int id;
    private String sender;
    private String receiver;
    private String content;
    private int type;
    private String time;
    
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	
	public String getSender() {
		return sender;
	}
	public void setSender(String sender) {
		this.sender = sender;
	}
	public String getReceiver() {
		return receiver;
	}
	public void setReceiver(String receiver) {
		this.receiver = receiver;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public int getType() {
		return type;
	}
	public void setType(int type) {
		this.type = type;
	}
	public String getTime() {
		return time;
	}
	public void setTime(String time) {
		this.time = time;
	}
	@Override
	public String toString() {
		return "Message [id=" + id + ", sender=" + sender + ", receiver="
				+ receiver + ", content=" + content + ", type=" + type
				+ ", time=" + time + "]";
	}
	
    
    
}
   
